<?php
$hostname = "localhost";
$username = "root";
$password = "123456";
$connection = mysql_connect($hostname, $username, $password) or die("Could not connect to the database, please contact to the technicist!".mysql_error());
$db_selected = mysql_select_db("ttu",$connection);
mysql_query("set names utf8");

/*将时区设置成中国时区*/
date_default_timezone_set('PRC');
?>